package rcs

import "gitee.com/wcs2/common/enums"

type deviceStatusStruct struct {
	Running  enums.PositionEnum
	Ready    enums.PositionEnum
	Charging enums.PositionEnum
	Error    enums.PositionEnum
	Stop     enums.PositionEnum
	Offline  enums.PositionEnum
}

// 设备状态枚举
var DeviceStatusEnum = &deviceStatusStruct{
	Running: enums.PositionEnum{
		Code:    "Running",
		Des:     "运行中",
		PlcCode: 0,
	}, Ready: enums.PositionEnum{
		Code:    "Ready",
		Des:     "就绪",
		PlcCode: 1,
	}, Charging: enums.PositionEnum{
		Code:    "Charging",
		Des:     "充电中",
		PlcCode: 2,
	}, Error: enums.PositionEnum{
		Code:    "Error",
		Des:     "故障",
		PlcCode: 3,
	}, Stop: enums.PositionEnum{
		Code:    "Stop",
		Des:     "停用",
		PlcCode: 4,
	}, Offline: enums.PositionEnum{
		Code:    "Offline",
		Des:     "离线",
		PlcCode: 5,
	},
}
